//
//  CirclePostsDetailsViewController.h
//  安好
//圈子中的帖子列表
//  Created by rlp on 14-12-3.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SquareATableViewCell.h"
#import "PopoverView.h"

#import "SquarePostsDetailsViewController.h"
#import "PublicationTopicViewController.h"
#import "AssociatedWithIViewController.h"

/**
 *  model
 */
#import "ThreadListDataModels.h"
#import "GroupUserModel.h"

#import "FKSearchBar.h"

//关注 取消关注
#define JOIN @"join"
#define OUT @"out"


/**
 标记点击toobbar的标记 1,一键签到 2,发表话题 3,关注
 */

typedef NS_ENUM(NSInteger, FlagTypes) {
    FlagTypesSign=1,
    FlagTypesPost,
    FlagTypesAttention
};

@interface CirclePostsDetailsViewController : BaseViewController<UIScrollViewDelegate,UITableViewDelegate,UITableViewDataSource,SquareCellImageViewsDelegate,FKSearchBarDelegate,PublicationTopicViewControllerDelegate>{
}


@property (strong, nonatomic) IBOutlet UITableView *squareView;//广场
@property (strong, nonatomic) ThreadListBaseClass *threadListBaseClass;
@property (assign, nonatomic) NSInteger type;//	筛选类型:默认为0  1：置顶2：精华3：new 4：是否图片5：推荐

@property (assign, nonatomic) NSInteger squarePage;//广场第几页

@property (strong, nonatomic)GroupUserModel*groupUserModel;
@property (strong, nonatomic) FKSearchBar *fkSearchBar;

@property (assign, nonatomic) BOOL isFromMyFoucus; // 判断是否是从我的收藏界面跳转

@property (assign, nonatomic)FlagTypes flagTypes;

@property (nonatomic,strong)PopoverView *pop;


@end
